<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>向往的生活家—后台管理</title>
		<link rel="stylesheet" href="/css/x-admin.css" />
		<link rel="stylesheet" href="/static/layui/css/layui.css" />
		<link rel="stylesheet" href="/static/layer/skin/layer.css" />
		<link rel="stylesheet" href="/css/common.css" />
		<link rel="stylesheet" href="/css/curse.css" />
		<link rel="stylesheet" href="/css/font-awesome.min.css" />
		<link rel="stylesheet" href="/css/Sales_Report_personal.css" />
		<link rel="stylesheet" href="/css/datetime.css" />
		<link rel="stylesheet" href="/css/list.css" />
		<link rel="stylesheet" href="/css/dateRange.css" />
		<link rel="stylesheet" href="/css/gl.css" />

		<script type="text/javascript" src="/js/jquery.min.js" ></script>
		<script type="text/javascript" src="/static/layui/layui.js" ></script>
		<script type="text/javascript" src="/static/layer/layer.js" ></script>
		<script type="text/javascript" src="/js/x-layui.js" ></script>
		<script type="text/javascript" src="/js/xcity.js"></script>

		<script type="text/javascript" src="/js/bkwcrm.js" ></script>
		<script type="text/javascript" src="/js/common.js" ></script>
		<script type="text/javascript" src="/js/base.js" ></script>
		<script type="text/javascript" src="/js/cookie.js" ></script>
		<script type="text/javascript" src="/js/page.js?version=20171212" ></script>
		<script type="text/javascript" src="/js/classification/city-list.js?version=20171212"></script>
		<style>
			.layui-btn {
			    line-height: 38px;
			    padding: 0 10px;
    		}
			xblock button{
				float: left;
			}
			tbody img{
				height: 20px;
			}
		</style>
	</head>

	<body>
		
		<div class="x-body">
			<!-- 时间选择 -->
	        <div style="margin-bottom:10px;border-bottom: 0px;padding-bottom: 0px;"  class="nav_wrap_personal">
	            <ul class="personal_nav_timetab select_time1">
	                <li name="0" class="blue_color">今日</li>
	                <li name="1" >昨日</li>
	                <li name="7">最近7日</li>
	                <li name="30">最近30日</li>
	                <li name="">全部</li>
	            </ul>
	            <div class="input_long_wrap">
	                <div class="ta_date" id="div_date1" style="margin-right: -20px">
	                    <span class="date_title" id="date1">2017-10-25 - 2017-10-26</span>
	                </div><label class="contrast" for="needCompare_1508986225539" style="display: none;"><input type="checkbox" class="pc" name="needCompare_1508986225539" id="needCompare_1508986225539" value="1" disabled="disabled">对比</label><div class="ta_date" id="div_compare_date1" style="display: none;">	<span name="dateCompare" id="date1Compare" class="date_title" style="display: none;"></span>	<a class="opt_sel" id="compare_trigger" href="javascript:void(0)">		<i class="i_orderd"></i>	</a></div>
	                <label class="contrast" for="needCompare_1508756891010" style="display: none;">
	                    <input type="checkbox" class="pc" name="needCompare_1508756891010" id="needCompare_1508756891010" value="1" disabled="disabled">对比</label>
	                <div class="ta_date" id="div_compare_date1" style="display: none;">	<span name="dateCompare" id="date1Compare" class="date_title" style="display: none;"></span>
	                    <a class="opt_sel" id="compare_trigger" href="javascript:void(0)">		<i class="i_orderd"></i>	</a></div>
	            </div>
	            
	            <!-- 搜索框 -->
	       		<div id="conditional_search" style="float: right; border: 0; font-size: 14px; line-height: 36px;" course_tiku_stlb_search="">
	                <div class="titlist_wrap" style="margin-top: 0px;">
	                    <div class="curse_list">
	                        <div class="titlist_wrap_tit  sousuo_border">
	                            <span id="search_name" value="city_name">城市查询</span><i class="titlisticon icon-angle-down"></i>
	                        </div>
	                        <ul class="curse_list_ul zq_ul ove" style="max-height: 399px; width: 88px !important; display: none;" id="conditional_search">
	                            <li value="city_name"><a name="city_name">城市查询</a></li>
	                            <li value="city_district_name"><a name="city_district_name">区县查询</a></li>
	                        </ul>
	                    </div>
	                </div>
	                <div class="newBtn_Right">
	                    <input class="newBtn_Right_input newBtn_Right_inputs" id="conditional_searchinput" name="" value="" placeholder="请输入用户名">
	                    <a class="newBtn_Right_a" onclick="addgoods()"><i class="icon-search"></i> </a>
	                    <div style="clear: both;"></div>
	                </div>
	            </div>
	            <div style="clear:both;"></div>
	        </div>

			<xblock>
				<button class="layui-btn layui-btn-danger" onclick="delAll()">
					<i class="layui-icon">&#xe640;</i>批量删除
				</button>
				<button class="layui-btn" onclick="question_add()">
					<i class="layui-icon">&#xe608;</i>添加
				</button>
			</xblock>
			
			<table class="layui-table">
				<thead>
					<tr>
						<th style="width: 1%;">
							<input type="checkbox" name="" value="" id="checkAll">
						</th>
						<th style="width: 8%;">一级城市</th>
						<th style="width: 8%;">二级区县</th>
						<th style="width: 8%;" class="list_sort_tab" value="city_createtime">添加时间
							<i class="icon_downs createcolor1 sortfildshiti" tp="QuestionNum_Y" name="desc"></i>
						</th>
						<th style="width: 5%;">操作</th>
				</thead>
				<tbody id="biuuu_city_list">
					<tr>
						<td>
							<input type="checkbox" name="" value="" class="checkbox">
						</td>
						<td><span lass="show_tips">重庆</span></td>
						<td><span class="show_tips">永川市</span></td>
						<td><span class="show_tips">2018-08-20</span></td>
						<td class="td-manage">
							<a title="编辑" href="javascript:;" onclick="question_edit()" class="ml-5" style="text-decoration:none">
								<i class="layui-icon">&#xe642;</i>
							</a>
							<a title="删除" href="javascript:;" onclick="question_del(this,'1')" style="text-decoration:none">
								<i class="layui-icon">&#xe640;</i>
							</a>
						</td>
					</tr>
				</tbody>
			</table>
			
			<!--页码 start-->
			<div class="bottom_page">
				<div class="my_client_b_l">
				</div>
				<div id="biuuu_city" style="margin: 2px auto;text-align: center;">
					<div style="float: right;padding:7px 20px;" id="bottom">
						<div class="select_wrap select_w" onselectstart="return false">
							<div style="float: left;">
                                <span class="bottom_left_tit">
                                    共 <span id="totalSize">0</span> 行
                                          每页显示行:
                                      </span>
								<span style="float: left;" class="select_span1">
                                    <span id="selectPageSize">
                                        <span id="selectPageSize1">10</span>
                                        <i class="icon-angle-up"></i>
                                    </span>
                                    <ul class="select_ul2" id="select_page_ul" onclick="this.style.display='none'">
                                        <li>10</li>
                                        <li>20</li>
                                        <li>30</li>
                                        <li>50</li>
                                        <li>100</li>
                                    </ul>
                                </span>

							</div>
							<div style="float: left;margin-left: 5px" id="site">
								<button id="first_button" onclick="changeCurrentPage('first')">
									<i class="icon-double-angle-left"></i>
								</button>
								<button id="last_button" onclick="changeCurrentPage('last');">
									<i class="icon-angle-left"></i></button>
								<div class="page_numdiv">
									<span id="currentPage">1</span>/<span id="totalPage">1</span>
								</div>
								<button id="next_button" onclick="changeCurrentPage('next');">
									<i class="icon-angle-right"></i></button>
								<button id="end_button" onclick="changeCurrentPage('end')">
									<i class="icon-double-angle-right"></i>
								</button>
							</div>
						</div>
					</div>
				</div>
			</div>
			<!--页码 end-->

		</div>
		
	</body>

	<!--新建、编辑用户弹框-->
	<div id="newlybuildwin" style="display: none;width: 800px"
		 class="popup_wrap nre_alert linepopup layui-layer-wrap">
		<div class="popup_tit"></div>
		<div style=" max-height: 400px;overflow-y: auto;padding: 10px 0px;">
			<div class="titBottom_w titBottom_s">
				<div class="status_">
					<input id="add_city_encryptId" type="hidden" value="">
					<table>
						<tr class="tr_s">
							<td class="status_s"  style="width: 10%;vertical-align: top;padding-top: 10px;">
								<span>所属城市：</span>
							</td>
							<td>
								<div class="layui-row" style="margin-left: 10px;">
									<div class="layui-form layui-col-md12  layui-form-pane">
										<div class="layui-form-item" id="x-city">
											<div class="layui-input-inline">
												<select name="province" lay-filter="province" id="province">
													<option value="">请选择省</option>
												</select>
											</div>
											<div class="layui-input-inline">
												<select name="city" lay-filter="city" id="city">
													<option value="">请选择市</option>
												</select>
											</div>
											<div class="layui-input-inline">
												<select name="area" lay-filter="area" id="area">
													<option value="">请选择县/区</option>
												</select>
											</div>
										</div>
									</div>
								</div>
							</td>
						</tr>

					</table>
				</div>
			</div>
		</div>
		<div class="linepopup_div"></div>
		<div class="d_btn">
			<div class="linepopup_button">
				<a class="Save_s" onclick="addCitySave()" href="javascript:void(0)">确定</a> <a
					href="javascript:mclose()" class="sure_btn1" style="margin-right: 15px;">取消</a>
			</div>
		</div>
	</div>

	<script type="text/javascript">
        layui.use(['form', 'code'], function() {
            form = layui.form;

            layui.code();

            $('#x-city').xcity('重庆', '市', '永川市');

        });
	</script>



</html>